// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.assets.service;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 固资首页业务接口层
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023-11-07
 */
public interface AssetsSpreadService {
    /**
     * 查询固资首页
     *
     * @param queryParam 查询参数
     * @param type       查询类型
     * @return 固资首页
     */
    Map<String, Object> getAssetsDashboard(Map<String, Object> queryParam, int type);

    /**
     * 导出固资首页信息
     *
     * @param response response
     */
    void exportAssetsBudget(HttpServletResponse response);

    /**
     * 查询部门数据
     *
     * @param year       年度
     * @param department 部门
     * @return 部门数据
     */
    Map<String, Object> pageAssetsDepDetail(String year, String department);
}
